package builder.builder;

import builder.food.ChickenBurger;
import builder.food.Coke;
import builder.food.Pepsi;
import builder.food.VegBurger;

public class MealBuilder {
    /**
     * 套餐一
     * @return Meal
     */
    public Meal prepareVegMeal (){
        Meal meal = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }

    /**
     * 套餐二
     * @return Meal
     */
    public Meal prepareNonVegMeal (){
        Meal meal = new Meal();
        meal.addItem(new ChickenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }
}
